<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/inc/common.jsp"%>
<html>
<head>
<title>编辑</title>
<%
	String id=request.getParameter("id");
%>
<script type="text/javascript">
	var uid='<%=id%>';
</script>
<!--jqzoom css  -->
<link rel="stylesheet" type="text/css" href="${basePath}/css/pic/jqzoom.css" />
<!--jqzoom js  -->
<script type="text/javascript" src="${basePath}/js/pic/jquery.jqzoom.js" ></script>
<script type="text/javascript" src="${basePath}/js/pic/jqzoom.init.js" ></script>
<!-- 自定义 -->
<script type="text/javascript" src="${basePath}/business/demo/demoPicEdit.js" ></script>
</head>
<body class="easyui-layout"  data-options="fit:true">
	<div  data-options="region:'center',title:'图片演示',footer:'#searchfooter'" >
		<div class="easyui-layout" data-options="fit:true" >
			<div data-options="title:'',region:'west'," style="width:30%;">
				<div class="easyui-panel" data-options="title:'',fit:true"  style="padding:5px 5px 5px 5px;"  border=false>
			     <form id="editform" method="post" >
			     <input id="id" name="id" type="hidden">
			    	<table  style="width:100%;" cellpadding="0" cellspacing="1"  class="formtable">
			    		<tr>
			    			<td align="right" style="width: 30%">名称：</td>
			    			<td class="value"><input class="easyui-textbox" type="text" id="name" name="name"  data-options="required:true"></input></td>
			    		</tr>
			    		<tr>
			    			<td align="right">项目期间(月)：</td>
			    			<td class="value"><input class="easyui-numberbox"  data-options="required:true,validType:'length[0,100]'" type="text" name="buildPeriod" id="buildPeriod" ></td>
			    		</tr>
			    		<tr>
			    			<td align="right">客户名称：</td>
			    			<td class="value"><input class="easyui-textbox" type="text"  data-options="required:true" name="initAirProvince" id="initAirProvince" ></td>
			    		</tr>
			    		<tr>
			    			<td align="right">本金：</td>
			    			<td class="value"><input class="easyui-numberbox"  data-options="required:true,precision:2,groupSeparator:','" name="initAirPrice" id="initAirPrice"></td>
			    		</tr>
			    		<tr>
			    			<td align="right">状态：</td>
			    			<td class="value"><input class="easyui-combobox" name="operatorStatus"  data-options="url:'<%=path%>/sys/dictionary/dicbykey.do?key=1001',method:'get',valueField:'dataCode',textField:'dataName',panelHeight:'auto',editable:false,required:true"></td>
			    		</tr>
			    		<tr>
			    			<td align="right">客户名称：</td>
			    			<td class="value"><input class="easyui-textbox" type="text"  data-options="required:true" name="initAirProvince" id="initAirProvince" ></td>
			    		</tr>
			    		<tr>
			    			<td align="right">本金：</td>
			    			<td class="value"><input class="easyui-numberbox"  data-options="required:true,precision:2,groupSeparator:','" name="initAirPrice" id="initAirPrice"></td>
			    		</tr>
			    		<tr>
			    			<td align="right">状态：</td>
			    			<td class="value"><input class="easyui-combobox" name="operatorStatus"  data-options="url:'<%=path%>/sys/dictionary/dicbykey.do?key=1001',method:'get',valueField:'dataCode',textField:'dataName',panelHeight:'auto',editable:false,required:true"></td>
			    		</tr>
			    	</table>
			    </form>
		    </div>
			</div>
			<div data-options="region:'center'" >
				<div class="easyui-panel" data-options="title:'',fit:true"  style="padding:5px 5px 5px 5px;"  border=false>
			    	<table  style="width:100%;" cellpadding="0" cellspacing="1"  class="formtable">
			    		<tr>
			    			<td align="center" style="width: 15%">正面</td>
			    			<td class="value">
		    					<div class="jqzoomright">
 									<img class="sampleimage" src="img/1.png"  alt=""  jqimg="img/1.png" />
								</div>
			    			</td>
			    			<td align="center" style="width: 15%">侧后45度</td>
			    			<td class="value">
		    					<div  class="jqzoomleft">
 									<img class="sampleimage" src="img/2.png" alt=""  jqimg="img/2.png" />
								</div>
			    			</td>
			    		</tr>
			    		<tr>
			    			<td align="center">侧前45度</td>
			    			<td class="value">
		    					<div  class="jqzoomright">
									<img class="sampleimage" src="img/3.png"  alt=""  jqimg="img/3.png" />
								</div>
			    			</td>
			    			<td align="center">后面</td>
			    			<td class="value">
		    					<div  class="jqzoomleft">
									<img class="sampleimage" src="img/4.png" alt=""  jqimg="img/4.png"/>
								</div>
			    			</td>
			    		</tr>
			    	</table>
				</div>
			</div>
		</div>
	</div>
	<div id="searchfooter" style="text-align:right;padding: 0px 10px">
		<a href="javascript:void(0)" class="easyui-linkbutton" onclick="doSubmit()"  data-options="iconCls:'icon-page_save',plain:true" >保存</a>
		<span class="search-btn-separator"></span>
		<a href="javascript:void(0)" class="easyui-linkbutton" onclick="doBack()" data-options="iconCls:'icon-undo',plain:true">返回</a>
	</div>
</body>
</html>
